package com.oxy.model.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.oxy.model.Pager;
import com.oxy.model.po.MemberPO;

public interface MemberDao {
	public long count();
	public List<MemberPO> list(Pager pager);
	public MemberPO selectByUserId(int uid);
	public MemberPO selectByEmail(String email);
	public int insertMember(MemberPO member) throws DataAccessException;
	public boolean loginByEmail(String email, String password);
}
